package com.touchfired.common.core.event.impl;

import com.touchfired.common.constants.ClientInfo;
import com.touchfired.common.constants.RoomInfo;
import com.touchfired.common.core.event.BaseEvent;
import lombok.Getter;

/**
 * 房间创建 事件
 *
 * @author 幸佳俊
 */
@Getter
public class RoomJoinEvent extends BaseEvent {

    private ClientInfo clientInfo;
    private RoomInfo roomInfo;

    public RoomJoinEvent(ClientInfo clientInfo, RoomInfo roomInfo) {
        super(clientInfo);
        this.clientInfo = clientInfo;
        this.roomInfo = roomInfo;
    }
}
